<?php
class BaseAction extends Action {
   
    function _initialize() {		
	if(!isset($_SESSION['userid'])&&ACTION_NAME!="login"&&ACTION_NAME!="login_do") $this->redirect("/Index/login");
	}
}